package com.example.questionnaire.mbg.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Answer implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;

    private Integer userId;
    private Date writeTime = new Date();
    //外键
    private Integer questionnaireId;
}